package com.web.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.web.entity.SysPoster;

public interface SysPosterDao {

	public List<SysPoster> findAllPoster();

	public List<SysPoster> getAllPoster(SysPoster sysPoster);

	public List<SysPoster> getIdPoster(@Param("id") Integer id);

	public void updatePosterState(@Param("id") Integer id, @Param("state") Integer state);

	public void updategetIDPoster(@Param("id") Integer id, @Param("name") String name, @Param("path") String path,
			@Param("state") Integer state, @Param("remark") String remark);

	public void addPoster(SysPoster sysPoster);

	public void delPoster(@Param("id") Integer id);
}
